<!DOCTYPE html>
<html>
<head>
    <meta name="format-detection" content="telephone=no">
    <meta charset="UTF-8">
    <title>天恒物业</title>
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0"/>
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="stylesheet" type="text/css" href="{{asset('home/css/style.css')}}"/>
</head>
<body>
<header>
    <nav>
        <span class="nav-item menu" id="open-icon">
            <img src="{{asset('home/img/menu.png')}}"/>
        </span>
        <span class="nav-item logo">
            <img src="{{asset('home/img/logo.png')}}"/>
        </span>
        <span class="nav-item admin">
            <img src="{{asset('home/img/people.png')}}"/>
        </span>
        <div class="clearfix"></div>
    </nav>
    <ul class="nav-list" id="nav-list">
        <a class="font40" href="{{url('/')}}"><li class="navlist-item">公司首页</li></a>
        <a class="font40" href="{{url('company')}}"><li class="navlist-item">公司简介</li></a>
        <a class="font40" href="{{url('newslist')}}"><li class="navlist-item">新闻中心</li></a>
        <a class="font40" href="{{url('items')}}"><li class="navlist-item">项目展示</li></a>
        <a class="font40" href="{{url('photo')}}"><li class="navlist-item">公司相册</li></a>
        <a class="font40" href="{{url('online')}}"><li class="navlist-item">在线留言</li></a>
        <a class="font40" href="{{url('contact')}}"><li class="navlist-item">联系我们</li></a>
    </ul>
    <!--<banner class="banner clear">-->
    <div id="focus" class="focus banner clear">
        <div class="hd">
            <ul>
                <li></li>
            </ul>
        </div>
        <div class="bd">
            <ul>
                <li><a href="#"><img src="{{asset('home/img/banner.png')}}" width="100%" height="100%"></a></li>
                <li><a href="#"><img src="{{asset('home/img/banner.jpg')}}" width="100%" height="100%"></a></li>
                <li><a href="#"><img src="{{asset('home/img/banner2.png')}}" width="100%" height="100%"></a></li>
                <li><a href="#"><img src="{{asset('home/img/banner1.jpg')}}" width="100%" height="100%"></a></li>
            </ul>
        </div>
    </div>
    <!--</banner>-->
</header>

    @yield('content')

<footer>
    <a class="font40" id="return" href="#">
        返回顶部
    </a>
    <ul class="footer-iconwrap">
        <a class="font40" href="###">
            <li class="footer-icon">
                <span class="icon-pic"><img src="{{asset('home/img/footer-tel.png')}}"/></span>
                <p class="icon-text">客服电话</p>
            </li>
        </a>
        <a class="font40" href="###">
            <li class="footer-icon">
                <span class="icon-pic"><img src="{{ asset('home/img/footer-weixin.png') }}"/></span>
                <p class="icon-text">微信公众号</p>
            </li>
        </a>
        <a class="font40" href="###">
            <li class="footer-icon">
                <span class="icon-pic"><img src="{{ asset('home/img/footer-weibo.png') }}"/></span>
                <p class="icon-text">官方微博</p>
            </li>
        </a>
        <a class="font40" href="###">
            <li class="footer-icon">
                <span class="icon-pic"><img src="{{ asset('home/img/footer-aa.png') }}"/></span>
                <p class="icon-text">客服QQ</p>
            </li>
        </a>
        <div class="clearfix"></div>
        <div class="footer-note">
            <p class="font40 note-item">桂ICP备17012718号 copyright © www.tianheng.net</p>
            <p class="font40 note-item">桂公网安备 57131282371238号</p>
        </div>
    </ul>
</footer>
</body>
<!--<script src="js/jquery-1.8.3.min.js" type="text/javascript" charset="utf-8"></script>-->
<script type="text/javascript" src="{{asset('home/js/public.js')}}" ></script>
<script src="{{asset('home/js/jquery.min.js')}}"></script>
<script src="{{asset('home/js/TouchSlide.1.1.js')}}"></script>
<script>
    /*字号rem尺寸变化代码*/
    window.onload=window.onresize=function(){
        document.documentElement.style.fontSize=100*document.documentElement.clientWidth/750+'px'
    };
    /*导航展开收起效果代码*/
    $(document).ready(function () {
        $("#open-icon").click(function () {
            $("#nav-list").slideToggle();
        });
    });
    /*公司简介导航切换效果*/
    $(function(){
        $(".company-introwrap a").click(
            function(){
                $(this).addClass("index-compcur").siblings().removeClass("index-compcur")
            }
        );
    });
    $(function(){
        $('.company-introwrap .company-introitem').click(function(){
            var $a=$(this).index();//获取序列号
            $('.company-conwrap>div').eq($a).show().siblings().hide();
        });
    });
    /*新闻中心导航切换效果*/
    $(function(){
        $(".news-wrap a").click(
            function(){
                $(this).addClass("index-newscur").siblings().removeClass("index-newscur")
            });
    });
    $(function(){
        $('.news-wrap .new-tit').click(function(){
            var $a=$(this).index();//获取序列号
            $('.news-newtitwrap>div').eq($a).show().siblings().hide();
        });
    });
    //banner
    TouchSlide({
        slideCell:"#focus",
        titCell:".hd ul", //开启自动分页 autoPage:true ，此时设置 titCell 为导航元素包裹层
        mainCell:".bd ul",
        effect:"leftLoop",
        autoPlay:true,//自动播放
        autoPage:true, //自动分页
        switchLoad:"_src" //切换加载，真实图片路径为"_src"
    });

</script>
@yield('contents')
</html>
